//
//  BookManagedObject.h
//  Book Editor
//
//  Created by Chris Karr on 6/21/08.
//  Copyright 2008 Northwestern University. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#define DATAFILE @"BookData.sqlite"
#define RESOURCES @"Resources"
#define IMAGES @"Images"
#define QUICKLOOK @"QuickLook"
#define THUMBNAIL @"Thumbnail.png"
#define EXTENSION @"book"

@interface BookManagedObject : NSManagedObject 
{
	NSData * coverImage;
}

- (void) open:(NSURL *) url;
- (void) save:(NSURL *) url;

@property(retain) NSData * coverImage;

@end
